/* Gipmsg - Local networt message communication software
 *  
 * Copyright (C) 2012 tsl0922<tsl0922@gmail.com>
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 3 of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 * Boston, MA 02111-1307, USA.
 */

#ifndef _GIPMSG_SENDDLG_H_
#define _GIPMSG_SENDDLG_H_

SendDlg *senddlg_new(User * user);
bool is_same_packet(SendDlg * dlg, Message * msg);
void senddlg_add_message(SendDlg * dlg, const char *msg, bool issendmsg);
void senddlg_add_info(SendDlg * dlg, const char *msg);
bool notify_send_finish(SendDlg * dlg, ulong ipaddr, packet_no_t packet_no);
void senddlg_add_fileattach(SendDlg * dlg, GList * files);
void update_send_progress_bar(SendDlg *dlg, ProgressInfo *ppinfo);
void update_recv_progress_bar(SendDlg *dlg, ProgressInfo *ppinfo);

#endif
